fixed Errors