removed a simple bug with pry