fix pry output issue