fixed all lint and code style problems