fixed typed intrinsics functions bug
fixed character value argument bug