make pause more robust