complete the fix for bug-4439

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>