fixed autogenerated main class of module