hAP lite initial config bug?

Hi

Have a hAP lite and I used the web interface for configuration, set some tricky rules successfully, set static IP’s for some clients and all was working well.

I then thought I would finish off the firewall rules via a terminal window, so when in but straight away my config is re-written with the default - tried pressing V to revert but no luck.

Now I have a brick.

Have demonstrated this on two other hAP lites running 6.38.1

I can get it up again by holding in the reset etc but this is a right pain - took quite a while setting this up the way I want it.

Why does this happen? How can I absolutely make sure that this ‘feature’ will never happen again?