fixed some gui crashing (no binaries yet)