fix not used bug