removing module pattern