fixed little bug in AMI waiting state
works from the snapshot to an AMI