wp-1328 fixed wrong variable name;