improve assets output performance