Fixed escape single quote bug.