a problem with a var sent to template solved