portfolio upload debug