fixing a compile issue