locals fix