cleaning up some warnings for depercated methods