fix a missing avatar URL bug in author model