fix Preview thumbnail bug