added active to location