Reduce byte compile warnings

Fix following kind of byte compile warnings
- using unknown function
- unused function argument

Pleases see this patch