simple cleanup of gcc warnings