fix some dialzer errors