fixed calls to registers