fixed limit and offset not being read from GET parameters