fix setDeepness()