fix variable naming mistake