fixing lint errors
fixed rspec error