fix pre overflow