fix the reaction of the reload button at MAIN.HTML