initINST fix & positions fix & program now closes