reverted temporary fix. needs to be made again

this is in light of the change to api v3.