fixed some dumb errors with comm