fix skeleton
various changes
Aliasing class should fired if class is not redelcared before