fixed bug with passing year kwarg