fixing top api for years