Seems like I've flipped bit #12, not 14
Tried your solution, it works fine, thanks!