fix problem with rosrpc init data

now both topics will be registered