fixed dissapearing bug