fix lua getKeys when set nil breaked;