Fixed compile issue with control