fix thumbnail not uploaded