Fix ui variable