UI permission error fix