fix issue with anon fn's with names where name was not added to locals