add release resource stmt