fix error cant assign author