Let us see how to fix semaphores