fix nickname model in template