Fixed #29 NLua Bug after merge