conform to newer goamz spec