Revert "Use dispatch_once"

This reverts commit 4fe849bfdc0c226de6f8abf4140164c920c0b665.
Fix project struct