Fixed compile warning