ownerId not generated bug resolved