fix regexp at save section function