Fixed a lua error, maybe