removing chenges to x_misc.c