fixes stupid rspec bugs