fixed authors to work with sql db