preparing to rebuild ui