otherwise I've fixed the bug I just spot. guidance about the full pull request is welcome =)