finaly fix collision ... and added debug mode
fix checkbox