bugfix in date modifier