chage error handle