bug fix in module