fixed compiler issue