small fixes
compilation warning fixes