convert deps to resource