fix for unused vars