fixed issue with date being recorded wrong