use HTML entities
check for empty paths