deprecation fixes to host on aws