still issues with lua