added dynamic queryfield loading