remove leading spaces from ch4