correct variable type