Fix clear map cache