handle compling errors