fixed the bug in last picture