Removed reinit from various places. it often causes seg-fault.