birthday key memory leak fix