usemin support
refactor