Fixed clientside lua errors.