resolve dead end code path