fixing variable name type