fixed deal tab window leak bug