Removed debug, fixed loopback