fix bug when add funtion animation mode