if line number 55 is omitted the program runs. But why?

no such method: tip