remove path from hash and fix pairing of quotes in choice