fix model bug (reference format)