i changed it to

return $v1

and it works fine, why the $sha anyway?