Make sure the id is between 1 and 10000