remove ostruct