remove useless trigger_error