removed unneded else for asset upload