fix sub.c