add location to path location initialization