stops spec warning and changes AMS deprecation