Fixing compiler errors for successful deployment