remove trailing whitespace
fix bug reading asm-light from file