fixed json build check for true