fix ssave out of range error 2