add more debug output to help find dynamodb issue