fixed segfault platforms array etc still more segfaults±w