main ui fix