fixed error in top level of ball debug