fixed lint and parse errors