fix for boto 2.27