bugfix for homepage diarie less than