changed getop.c