fix and rebuild project