fixed UI bugs while do import