Solve a little variable definition problem