fix ramps detection and avoid board reset