dependency compatibility fixes