fixed bug w/let binding