safely reinitialize project