fix resource deps