Fixed some erroring patterns