cleaned up pages app