Fixed a wrongly defined variable