prevent infinite rspec loops
patch infinite rspec issue