fixed code
fixing senario
fixed senario issue #184