fix 400 syntactically incorrect. when size is not specify.
missing the query keyword while doing pagination
query orders