Fixed author function