fixed hiding and showing of the custom invite text