fix gui prototypes