Fixed compile time warning