fixed wrong type