fix thumbnail lib