Fixed compile time bug