solving a bug with questionmark character