fixing special char bug