fix clear error