* fixed registration bug