bug fixing: escape wctx value twice