Fixed a stupid semaphore initialization bug