Fixed a compiler error