Fixed bug where had not set up patterns correctly. only prexisting fields were displayed