Fix wrong argument passed to Asset constructor