remove format input before appending #161