Fix header mode ui