upload debug fixed