add-to-module bug fixed