Fixed compile issue in Debug mode