some fix in module lib