#1280 Fixed compile error