fix syntax error in betaTail