fixxed bugs in asset model