Fixed compiler errs