fix to log(s)