FIX: error with missing upload directory