Fixed a small bug in passive.rb, still not functioning the way i like it