Dealing with compilation error