Fixed null for register