fixed to use new version of animator