re-struct Xcode, bug with segfault 11

CAN NOT WORK /cry