added some validation for statuses not to be empty