fix bill period on last days of month