key checks for amazon fixes #33