fix specs to point to inner_flag and inner_register