fix for inserting paramater for dateIn