fixes unterminated s command