Fixed named vector to write proper year