date parsing fixed
cleanup before and after
removed debug line