Fixed compile error