bug fix 4334

Signed-off-by: Sampath Liyanage <plbsam@gmail.com>