Fixed some lua stuff I bork.