fix equal version bug