calc fix

This adds the proper 'last_day' reference