fix signal attach