fix upload doc controller