changed from date type to string type in parse