Apparently the code I used for GUI was old.