add limits for querying commits