fix counting order when setting css assets