fix freeze dialog