fix :dynamic var warnings