disable encode failure warning in production release.