prevent memory leak protection alert