bug resolved scenario1