Fix typo for depend
Fixes for different behaviour for compound types