better page handling. Load after parse_query