fix clousure error