fixed a few build warnings (unused parameter)