get rid of unused vars