minor fix to a var type