fixed nil error in show_all