Added read instances and fixed bool bug