Fixed some permission and page reload related handling