deletes old show handler
minor formatting fixes: replaces tabs with spaces