Fixed uiappearance bug