fix variable assignation