fix loaded pages