Fix require paths
Restrict allfields to one value