fix usage check