correct some singals/connects