Fix mistake in typing

Thanks for conde2