still has BOM skipping issue