fix cloak upload