adjust and ball's bug fix