remove warnings for unused vars.