wrong semaphore init value