fix overflow and remove wrong comment