Fixed mem of local variables