fix some issues launching example progs