refactor ResManager
add ignore
modify ignore