fix for register_opt() without section