fixed error in thumbnail