fix a js bug when logout