Fixes show handler function