revert non working date parsing optimization