fixed lighttable bug