fix some stupid warnings