invoke  after selecting path