fixed wrong typedef