fix animation and init