bug fix 4286

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