updated mojo API usage in favor of v4.78