fixed a couple module pattern bugs