date reading bugfix