fixed compiler error