location destroy dependency