Remove prints in Legalize