remove ostruct reference