location component clean up