some error detect and modify