improve show behavior