empty ownerId bug fix