Fixed bug in supplementary module pattern