fixed improper TAILQ fix which caused pluto to segfault