Fix bug in author view