correcting compilation problem