Fixed minor remote library bugs