rm finsh & add lua register