fixing compilation problem