fixed g++ 4.8