Fixed Compiler Errors