Insert and save refactoring

add spave f=before brackets please