Remove debug loop