fixed bug in register pair loading