bug fix, unused variable (warn as error)