Fixed missing outputloop()