another bugfix for create_sub_interface function