fixed shd bug