remove magic index for UTF8 bom sequence