minor fix (remove unused vars)