fix memory corruption
initialize variables for startup notification