fix loading modules