better smarty pathvariables