add error in schedule