trigger go event when changing routes