fix previous_month