Fixed var name bug