Lint a few code errors