explicit 'as' cast added
fixing struct casts