fix binding for deep paths