Fixed Compile-Time Errors