fixed bug static string uploaded instead of id, id used wrong function.