Fixing error line

Now it will display the correct file and line of lua errors.