fixing file page bug