fixed issue when 'all' is specified as month