Fix compile errs