getvars fix, TEMPLATE_PATH removed (redundant)