fix some bugs and finished checkout ui