fix open pry error