Octoprint wifi very odd issue

What is the problem?
got wifi to connect for setup and printed. after reboot I can't get wifi to connect to network. only works after I setup and reimage. connecting to a prusa mk3s
What did you already try to solve it?
reimaged and works initially. but after reboots doesn't work.
Logs (syslog, dmesg, ... no logs, no support)
N/A
Additional information about your network (Hardware you are trying to connect to, hardware you are trying to connect from, router, access point, used operating systems, ...)
ubiquiti network
network is hidden. WPA2 - initially got it working and printed for about 6 hours just fine