reserve memory to prevent segfault