small fix to __local tempMs[][]