fixing a bug when adding a file entity with null owner