legacy start encode fix