Fixed register error