Improved formating of period.