Removed call to collection api since it was causing issues.