to prevent UI broken