optimized asset pipeline, fixed #257