Fixes the filed at bug and allowes array notation for the fields param