fixed bug with exporting in jar (ignore '\n' && '\r' in reading byte)