first date fixes
minor bugfixes