Fix parseD and eitherParseD (tentatively)