fix hexa pattern