fixed sh code error