fix constband bug, cleanup converter