init PutRet and check null before print it
Merge pull request #88 from carter2000/feature/b_jwl_fix_uninitialised_PutRet

init PutRet and check null before print it