fix pry warning