make console work with newer pry versions