full debugging

not find yet why stops semaphores