Fix for single upload

Fix for single upload