fixed the issue where skip and limit are getting defaulted