fixes special characters bug