Fixed a incorrect variable