Fixed bug on struct member not existing