fixes broken carriage return issue and removes random w"