fix check in elephant