fixing invalid call to resource collection
bump to 0.5.31