free the memory after model