fix keyMapper block not called when importing