fixed conversion from string to date problem in index and show