better mappings for inserting spaces