fix some configs for resourses
refine