Fixes a stupid mistake with the setting $data.