[fix] - check state in S3