fix beta errors