fix variable mistake