Wrong variable uses, thanks @elkuku