remove empty promises