fix rspec with hacks