fixing a bug: unicode key