Fixed Hiding functionality