Fix public upload

add some testing
is it normal that it's empty?