fix upload directory path