Format code and delete debug nslog