Fixed resource table bug