both project homcontroller add dispose method