fix beta log pdf