Fix type on variable