change some ui behaviours