weird compile issue