Make sure the limit is an int