fix type of nativized allocas