fixed a compile error in previous commit