change the compiler and handle the error messages