fixed sub page bug