Fixing a compile error