removing the last of the depracation warnings