fixed a small semantic issue. removed unused logging code from bin.