set-but-not-used fix