bug fixes

fixed a small bug in the demo; removed duplicate prefab instances