Fix invalid account exception