rm dict depth check