optimizing show hooks, closes #1025