fix bug with usage table