fix crash on show command