bugfix with date in FDM