seems to fix the first bit match problem