add clean memory function
update home install