conditional compilation error fixed