refactore DepthTagger in order to eliminate NullReferenceExceptions