fix bug in monthly mean timestamp adjustment