Fixed variable assignement mistake.