fix # of locals