amazon: check for null