remove i at the end of line