fixed variable typo in show_all