set a hard limit for get_dataset()