rebuild all function system