super crazy ast_copy_string conversion madness!