fix configure dialog