Fix minor Bug

Fix minor bug (variable assignation)