removed final node from output

i have some debug code in. you can delete it now or i can delete it later