fix "socos" script