finish 5.1 and need debug