fix resource
add some dependencies