fix callbacks of signals