fixing upload option