Fixes defaults for resources