fix projection date and sum bugs thanks to autotests