Fix local variable declaration