Adding animate command to remove warning