pagination and fix query net