fix closure... i think