fixed strange bug in asset pipeline