fix compile problems
delete beats_link