fix Errors