bugfix
minor
hasDefaultDepth handling