* fixed BOM prefox
* fixed pattern usage