Fix uploader object init right after declaration