fix for doubledeath