resolve rspec errors pass all specs