fixed error in signals