fix missing $author replacement