Fixed tag generation for lua