fixed {ASSET_INDEX} issue once and for all

see..  #136 and #116
fully tested and everything.