added temporary fix for upload