Fixed Clearing of Errors