small model registration bug fixed