fix condition in zencoder callback