fixed compile error from prev commit