cleaned up gcc warnings