Fixed getting owner id