removed getvars and spaces correction