get rid of deprecation warnings
rc5