policies get copied on compile