fixed dt in lua