Fixes upload