fixed newline issue on command