resolve dead store