Add \n to restore code segment to avoid possible syntax error