fixed error regarding sample.gif