remove seldepth variable