signal error bug fix