remove BOM
refactoring