fix date demo