fix resources and add missing