bug after select and signal