#21 fixed Undefined inde after creating a new asset