fixed lint errors in spec