clean up some deprecation on protocol warnings