handal multiple spaces