VERY VERY IMPORTANT BUG FIX

* Bug of day period now fixed.