fixed some syntax issues in bits.c