small fixes (c)