Fixed, semaphore locks wrong statement