replaced lint with hint and fixed errs