fix up warnings