wrong typedef - closes #270

wrong typedef - closes #270