bug fix 4271

Signed-off-by: A V Minhaz <minhazav@gmail.com>