fix non-text rule for performance