removing element dependent