revert Semaphore change