fixed type error, resourcemanager now returns a blob