Fix sstr fxn