register modules fix