Use correct dtype var