fixing payment period date problem, internationalisation