fix closure on single line