Fix local variables