fix beta compilator