fixed compiler check