bug fixed for special char