#3 fix compile errs