init pointer value to prevent segfault