handle dependent key properly