Fixed a bug that prevented dereferencing

a pointer to a through a typedef created typedef type