5328: current implementation throws notices. Added variable name to string