fixed compile issue