fixed subscribe_lib bug