important bugfix for panel forms