Correct a syntax typo and remove pry