Fix problem config and main form