fix variable name bug