works fine with data collection on mac but throws animation error on android