fixed occasion API call to remove junk data