fixed compilation error with previous change