fixed minimal ui bug