fixed compiler issue with g++4.4