fixed small error relating to prompts that didn't correctly increment dD