fix for get_years