Fix crash when has special character

Fix crash when has special character