Fixed uncompilable code