fix reg expression