clean up base patterns