fix bug
before this fix this program cant treat depth data correctly