some fixes (warning)