fix bad statement