fixed bug with 404(mistake in action returned), add date to periods, fixed tests)