correct variables type