closure bug in pull