sp bug fixed