Escape special characters, hotfix for atom bug