Fix public upload

add some testing
useless ()