fix module dependencies

we need ensure_resources which was added in 1.0.0