fix shoot lua errors, thanks Grazz!