Fixed a bug with a non defined variable name => $name