fix \001 bug