resinumber and fixes