remove trap ERR