fixed broken agenda view