correction to ordering of UI elements