Fix for broken upload