the event won't fire on changing url with same program