Fixed depth issue