fix paste id regex