fixed lint errors on specs