fixed wrong assertion