fixed dissapearing code