Fix some layout bugs, align cache status