adapt ui