turning on deprecation/feature warnings and fixing them