Fix resource_table helper