attributes disapearing bug fixed