fix Writeline command length