cannot connect to Winbox and Webfig logout every few seconds

Hi Everyone, I would like to ask your help regarding our Mikrotik RB951Ui-2HnD V6.36.2, I don’t know when this start happening but I am having a problem now with our Mikrotik Box. I cannot connect to Winbox, it is just stuck at logging in and I can login with webfig but it logs out every few seconds.I don’t know if its from the firewall or from the IP services since. The only changes that I remember we made is from the IP Services, I restrict the IP to our office IP since I connect to it remotely sometimes. I can fix it only after restoring to a previous back up using telnet,then I can log in to winbox and the webfig does not logs out, but after a few days. The problem re appears.

Please see below my firewall filter.

0 chain=input action=accept protocol=tcp dst-port=8291 log=no log-prefix=“”

1 chain=input action=accept protocol=udp log=no log-prefix=“”

2 chain=input action=accept protocol=tcp dst-port=10000-65535 log=no log-prefix=“”

3 D chain=forward action=jump jump-target=hs-unauth hotspot=from-client,!auth

4 D chain=forward action=jump jump-target=hs-unauth-to hotspot=to-client,!auth

5 D chain=input action=jump jump-target=hs-input hotspot=from-client

6 D chain=input action=drop protocol=tcp hotspot=!from-client

7 D chain=hs-input action=jump jump-target=pre-hs-input

8 D chain=hs-input action=accept protocol=udp

9 D chain=hs-input action=accept protocol=tcp

10 D chain=hs-input action=jump jump-target=hs-unauth hotspot=!auth

11 D chain=hs-unauth action=reject reject-with=tcp-reset protocol=tcp

12 D chain=hs-unauth action=reject reject-with=icmp-net-prohibited

13 D chain=hs-unauth-to action=reject reject-with=icmp-host-prohibited

14 XI ;;; place hotspot rules here
chain=unused-hs-chain action=passthrough

Thank you very much everyone.