Variable name bug fix