fix NameError from unimported EmptyLineError and get ylim command working