mysterious xlReg bug resolved