fill dict with character list
fix crash for char num