fix form exception problem with bad config.ini