Fixed the Errors