fix not enabling bug