patch to fix dependency issues.