virtual horizon fix

it broke when the type was changed from int to char