specop.c fixes