Fixed bottom depth issue