fixing gcc warnings..