Fixed main.ui error