cleanup of unused bits.