fix rspec, rspec working with some errors