Fix formForOptions method is wrapping the x element with an options element, causing malformed configuration messages.