no divide by 0 at beginning of month