Fixed Compile Time Errors