got rid of debugging statements

also put the pattern back to the right one