partial fix to rspec failure