removing the unecessary regex