leak bug fixed