fix permissions problem

It raised a permissions problem width reference fields