Fixed last bugs in upload mechanism, i tested it and it's working properly now.