handling space