fixed defect with embedded hashes not functioning as expected