Fix depth method