fixed compiler problem