fix bug with dynamic module names

#6