wrong var type fixed