fixing up warnings