add primary site. fix author issue when saving