fix thumbnail problem on upload again