fix not_locals